<?php use Zend\Filter\Null;
if ($this->pageCount): ?>
     <div class="page-list">
             <!-- Previous page link -->
             <?php if (isset($this->previous)): ?>
                     <a onclick="paginator(<?php echo $this->previous; ?>)">
                         &lt;上一页
                     </a>
             <?php else: ?>
                     <a class="disabled">
                         &lt;上一页
                     </a>
             <?php endif; ?>

             <!-- Numbered page links -->
             <?php foreach ($this->pagesInRange as $page): ?>
                 <?php if ($page != $this->current): ?>
                         <a onclick="paginator(<?php echo $page; ?>)">
                             <?php echo $page; ?>
                         </a>
                 <?php else: ?>
                         <a class="cur"><?php echo $page; ?></a>
                 <?php endif; ?>
             <?php endforeach; ?>

             <!-- Next page link -->
             <?php if (isset($this->next)): ?>
                     <a onclick="paginator(<?php echo $this->next; ?>)">
                         下一页&gt;
                     </a>
             <?php else: ?>
                     <a class="disabled">
                         下一页&gt;
                     </a>
             <?php endif; ?>
             <div class="page-search">
                               共<?php echo $this->pageCount; ?>页，到第<input id="page_go_num" type="text">页
                <a id="page_go_button" href="javascript:;" class="btn-page-sub ml10">确 定</a>
             </div>
             
     </div>
 <?php endif; ?>
<script>
$("#page_go_button").click(function(){
	var page_num = $("#page_go_num").val();
	paginator(page_num);
});
</script>